package cn.wizzer.app.user.modules.models;


import cn.wizzer.framework.base.model.BaseModel;
import lombok.Data;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;
import org.nutz.integration.json4excel.annotation.J4EIgnore;

/**
 * 群举报
 *
 * @author .
 */
@Data
@Table("group_report")
public class GroupReport extends BaseModel {

    @Column
    @Name
    @Comment("ID")
    @J4EIgnore
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(uu32 = true)
    private String id;


    @Comment("群id")
    @Column
    @ColDefine(type = ColType.VARCHAR,width = 32)
    private String groupId;


    @Comment("举报人id")
    @Column
    @ColDefine(type = ColType.VARCHAR,width = 32)
    private String userId;


    @Column
    @Comment("举报内容")
    @ColDefine(type = ColType.VARCHAR, width = 256)
    private String content;

    @Column
    @Comment("创建时间")
    @PrevInsert(els = @EL("$me.now()"))
    private Long ctAt;
}
